/**
 * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.portlet.model;

import com.liferay.portal.kernel.bean.AutoEscape;
import com.liferay.portal.model.BaseModel;
import com.liferay.portal.model.CacheModel;
import com.liferay.portal.service.ServiceContext;

import com.liferay.portlet.expando.model.ExpandoBridge;

import java.io.Serializable;

import java.util.Date;

/**
 * The base model interface for the nhanvien service. Represents a row in the &quot;dtbase_nhanvien&quot; database table, with each column mapped to a property of this class.
 *
 * <p>
 * This interface and its corresponding implementation {@link com.portlet.model.impl.nhanvienModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.portlet.model.impl.nhanvienImpl}.
 * </p>
 *
 * @author Thi
 * @see nhanvien
 * @see com.portlet.model.impl.nhanvienImpl
 * @see com.portlet.model.impl.nhanvienModelImpl
 * @generated
 */
public interface nhanvienModel extends BaseModel<nhanvien> {
	/*
	 * NOTE FOR DEVELOPERS:
	 *
	 * Never modify or reference this interface directly. All methods that expect a nhanvien model instance should use the {@link nhanvien} interface instead.
	 */

	/**
	 * Returns the primary key of this nhanvien.
	 *
	 * @return the primary key of this nhanvien
	 */
	public String getPrimaryKey();

	/**
	 * Sets the primary key of this nhanvien.
	 *
	 * @param primaryKey the primary key of this nhanvien
	 */
	public void setPrimaryKey(String primaryKey);

	/**
	 * Returns the ma nhan vien of this nhanvien.
	 *
	 * @return the ma nhan vien of this nhanvien
	 */
	@AutoEscape
	public String getMaNhanVien();

	/**
	 * Sets the ma nhan vien of this nhanvien.
	 *
	 * @param maNhanVien the ma nhan vien of this nhanvien
	 */
	public void setMaNhanVien(String maNhanVien);

	/**
	 * Returns the ten nhan vien of this nhanvien.
	 *
	 * @return the ten nhan vien of this nhanvien
	 */
	@AutoEscape
	public String getTenNhanVien();

	/**
	 * Sets the ten nhan vien of this nhanvien.
	 *
	 * @param tenNhanVien the ten nhan vien of this nhanvien
	 */
	public void setTenNhanVien(String tenNhanVien);

	/**
	 * Returns the gioi tinh of this nhanvien.
	 *
	 * @return the gioi tinh of this nhanvien
	 */
	@AutoEscape
	public String getGioiTinh();

	/**
	 * Sets the gioi tinh of this nhanvien.
	 *
	 * @param gioiTinh the gioi tinh of this nhanvien
	 */
	public void setGioiTinh(String gioiTinh);

	/**
	 * Returns the ngay sinh of this nhanvien.
	 *
	 * @return the ngay sinh of this nhanvien
	 */
	public Date getNgaySinh();

	/**
	 * Sets the ngay sinh of this nhanvien.
	 *
	 * @param ngaySinh the ngay sinh of this nhanvien
	 */
	public void setNgaySinh(Date ngaySinh);

	/**
	 * Returns the ma bo phan of this nhanvien.
	 *
	 * @return the ma bo phan of this nhanvien
	 */
	@AutoEscape
	public String getMaBoPhan();

	/**
	 * Sets the ma bo phan of this nhanvien.
	 *
	 * @param maBoPhan the ma bo phan of this nhanvien
	 */
	public void setMaBoPhan(String maBoPhan);

	/**
	 * Returns the ma role of this nhanvien.
	 *
	 * @return the ma role of this nhanvien
	 */
	@AutoEscape
	public String getMaRole();

	/**
	 * Sets the ma role of this nhanvien.
	 *
	 * @param maRole the ma role of this nhanvien
	 */
	public void setMaRole(String maRole);

	public boolean isNew();

	public void setNew(boolean n);

	public boolean isCachedModel();

	public void setCachedModel(boolean cachedModel);

	public boolean isEscapedModel();

	public Serializable getPrimaryKeyObj();

	public void setPrimaryKeyObj(Serializable primaryKeyObj);

	public ExpandoBridge getExpandoBridge();

	public void setExpandoBridgeAttributes(ServiceContext serviceContext);

	public Object clone();

	public int compareTo(nhanvien nhanvien);

	public int hashCode();

	public CacheModel<nhanvien> toCacheModel();

	public nhanvien toEscapedModel();

	public nhanvien toUnescapedModel();

	public String toString();

	public String toXmlString();
}